#pragma once

struct hd_struct {
    long start_sect;
    long nr_sects;
};

struct gendisk {
    int major;          /* major number of driver */
    char *major_name;   /* name of major driver */

    void (*init)(void); /* Initialization called before we do our thing */
    int nr_real;        /* number of real devices */

    struct gendisk *next;
};

extern struct gendisk *gendisk_head;
